home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 351-375 / disk_359 / dice / dice.lzh / include / signal.h < prev    next >
C/C++ Source or Header  |  1990-05-17  |  499b  |  29 lines

  1.  
  2. /*
  3.  *  SIGNAL.H
  4.  */
  5.  
  6. #ifndef _SIGNAL_H
  7. #define _SIGNAL_H
  8.  
  9. typedef char sig_atomic_t;
  10.  
  11. #define SIG_ERR ((__sigfunc)(-1))
  12. #define SIG_DFL ((__sigfunc)(0))
  13. #define SIG_IGN ((__sigfunc)(1))
  14.  
  15. #define SIGABRT     1
  16. #define SIGFPE        2
  17. #define SIGILL        3
  18. #define SIGINT        4    /*  also static init in signal/signal.c */
  19. #define SIGSEGV     5
  20. #define SIGTERM     6
  21.  
  22. typedef void (*__sigfunc)(int);     /*  INTERNAL, DO NOT USE */
  23.  
  24. extern __sigfunc signal(int, __sigfunc);
  25. extern int raise(int);
  26.  
  27. #endif
  28.  
  29.